package com.icode.gulimall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author: my_code
 * @Create: 2020-12-02 17:06
 * 二级分类VO
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Catalog2Vo {
    private String catalog1Id; //1级父分类
    private List<Catalog3Vo> catalog3List;    //3级子分类
    private String Name;
    private String id;

    /**
     * 三级分类VO
     */
    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Catalog3Vo{
        private String catalog2Id; //父分类,二级分类
        private String Name;
        private String id;
    }
}
